home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-07-11 | 4.7 KB | 118 lines | [TEXT/ttxt] |
- Xtra Data Base-
- eXternal Text Rerieval Archives
-
- Version 1.3 April '94
- Q u i c k r e f e r e n c e
-
- What is Xtra Data Base ?
- ======================
-
- Xtra is an external data base for developers on MacroMind Director
- applications, HyperCard and other third party developing tools.
- Xtra deals with text retrieval and though it is very simple to operate, it is
- very fast and powerful.
-
-
- How Does it work ?
- =================
-
- There are three stages working with Xtra data base:
- stage 1-
- --------
- Inserting all data in a very simple syntax into a text file. It can be done by
- any word processor or other application.
- The data base contains Records (there is no limit to the number of records
- except your HD capacity). Each record has a name and categories by which
- you will retrieve the record later on (e.g. serial code, color, address etc.)
- The name of the record is called 'class 0', and each category will be placed
- in a 'key' class. In this version you can fill up to 15 'key' classes for each
- record.
- At the end of each record you can add any number of text lines that
- contains additional information, but are not used for search&find.
-
- Example:
-
- Table - class <0> The record's name
- Brown - class <1> The color of the object
- Mahogany wood - class <2> The material of the object
- 1.80*70*90.5 cm - class <3> The size of the object
- $45 - class <4> The price of the object
- Description: This table is an antique, 17 century. It belonged to
- the king of England during 1880 - 1930 and then sold to the Berk
- family in New-York.
- Note: Do not use Moishe's Movers to transfer the table.
-
-
- Stage 2-
- --------
-
- Using the Xtra application you compile the text file into an Xtra Data
- file. The compiling process is pretty fast (E.g. 50 seconds for compiling
- 2500 records with 5 key classes and 2 text lines).
- Now you can operate your data file from the application for an easy
- Debugging. All you have to do is to type the search and retrieve commands,
- and pressing the <enter> key. A 'Ping' sound will occur when search is done.
- Afterwards the result will be typed on the screen.
- The search and retrieval of information is very fast.
-
- Stage 3-
- --------
- Working with the data base from inside a developer tool such as MacroMind
- Director. The Xtra commands are the same as in the stage 2. The director
- uses the Xtra Library file, which is usually placed in the same folder with
- your Application.
- At the beginning you type in your script: 'open Xlib [name of Xtra Library
- file]' and afterwards 'OpenXtraFile [name of Xtra Library file],[name
- of data file]' (this opens the data file).
-
- You get the information by typing 'SendXtra [Xtra Command]' in
- scripts.
- The arguments are send to the data file and the information is returned
- into 'the result' variable.
- You can operate all the arguments that Xtra application supports, and the
- syntax is the same.
- At the end you should close the data file by typing 'CloseXtraFile'
- followed with 'closeXlib'.
-
-
-
- Commands list:
- ~~~~~~~~~~~~
- To make a long story short, I'll describe to you the main
- commands/arguments:
- you can retrieve a record's body by it's name.
- You can search&find record that it's name or classes are equal a string, or
- equal a string with Wildcards (1 char or more), starts with a string,
- from a string, until a string, contains a string, not a string, Between
- two strings and so on.
- The argument can be simple or parenthesized to identify the group and
- order in which the arguments are calculated. It also obtains a fast logical
- and/or with the defined arguments.
- The result can be sorted alphabetically, or unsorted. It can be limited
- to only the first (variable) number of records. It can even be defined to
- give as the result another class instead of the name of the records
- (class <0>).
-
-
- Summery:
- ~~~~~~~
- A great deal of work was invested in this product (especially by the other
- partners...), so it costs....
- At this moment we are looking for an international/US dealer and we
- thought of interesting MacroMedia with it as well.
- We will be very happy to receive any comments and suggestions.
-
- A demo version of the Xtra Library Player is enclosed by. It is fully
- operational, except it retrieves up to 10 records only. You may duplicate and distribute the demo version as many copies as you like. Run the 'Xtra
- Example Movie'
-
- For more information contact:
- Amit Galili & Tsach Solan
- Knowledge Systems inc.
- Phone: 972-3-6050554, 972-3-7520613
- Fax: 972-3-9330968, 972-3-6050554
- POB 45075 Tel-Aviv 61540
- e-mail: amit1@ccsg.tau.ac.il
- solan1@ccsg.tau.ac.il
-
-